<%@ page pageEncoding="UTF-8"%>
<%@ include file="/common/token.jsp"%>
<%@ include file="/common/user.jsp"%>
<%@ include file="/common/operatehistory.jsp"%>
<%
	Integer secretary = input.getInt("secretary_id");
	User user = userByUid(secretary);
	if (isEmpty(user) || !Tools.getDesc(user.getJson("role")).equals("2")) {
		Tools.encryptPrint(out, new Message(30041, "没有这个科秘书呢"));
		return;
	}
	OperateHistory oh = OperateHistory.fromMap(parameters, OperateHistory.class);
	oh.setOid(secretary + "");	
    oh.setUid(token.getUid() + "");
    oh.setCategory(SECTION_SECRETARY);
    oh.setOperate(ATTENTION);
	operate(oh, true);
	Tools.encryptPrint(out, msg);
%>
